Closed Bug 1753830 Opened 2 years ago Closed 2 years ago

[LINUX] The scrollbar thumb is near invisible and has a horribly low contrast

Categories

(Core :: Widget: Gtk, defect)

Firefox 96
defect

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: aros, Assigned: emilio)

References

Details

Attachments

(3 files, 3 obsolete files)

Attached image scrollbar.png

Steps to reproduce:

The scrollbar thumb is near invisible and has a horribly low contrast.

I have quite a wide 10bit monitor with an excellent color reproduction and at an angle the thumb simply disappears.

I'm using Firefox 96 from https://ftp.mozilla.org/pub/firefox/releases/ with XFCE 4 under Fedora 35 using the Graybird GTK theme.

The theme has no effect on Firefox's appearance whatsoever.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Assignee: nobody → emilio

Rather than windows 10, which has much wider scrollbars.

Depends on D137937

Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #9262515 - Attachment description: Bug 1753830 - Add a pref to avoid disabling themed scrollbar colors. r=stransky → Bug 1753830 - Add a pref to allow disabling themed scrollbar colors. r=stransky

This is faster and more straight-forward code than the old
ShouldUseDarkScrollbar shenanigans, and allows to have dark-themed
scrollbars.

Depends on D137938

Drive-by but we can do this now that this code is not needed by
nsNativeThemeCocoa (bug 1749531).

Depends on D138077

Blocks: 1754225
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ae0553a7ef8d
Add a pref to allow disabling themed scrollbar colors. r=stransky
https://hg.mozilla.org/integration/autoland/rev/a55efaf05779
Take GTK unthemed scrollbar colors from Adwaita. r=stransky

Comment on attachment 9262752 [details]
Bug 1753830 - Allow using dark themed scrollbars on GTK too. r=stransky

Revision D138077 was moved to bug 1754225. Setting attachment 9262752 [details] to obsolete.

Attachment #9262752 - Attachment is obsolete: true

Comment on attachment 9262758 [details]
Bug 1753830 - Move a bunch of cocoa-specific scrollbar code to ScrollbarDrawingCocoa.cpp. r=spohl,mstange

Revision D138083 was moved to bug 1754225. Setting attachment 9262758 [details] to obsolete.

Attachment #9262758 - Attachment is obsolete: true
Attachment #9262758 - Attachment is obsolete: false

Use LayoutDeviceRect consistently, and add default initializers.

Depends on D138083

Comment on attachment 9262758 [details]
Bug 1753830 - Move a bunch of cocoa-specific scrollbar code to ScrollbarDrawingCocoa.cpp. r=spohl,mstange

Revision D138083 was moved to bug 1754225. Setting attachment 9262758 [details] to obsolete.

Attachment #9262758 - Attachment is obsolete: true

Comment on attachment 9262865 [details]
Bug 1753830 - Some more trivial clean-ups to the cocoa scrollbar drawing code. r=spohl,mstange

Revision D138164 was moved to bug 1754225. Setting attachment 9262865 [details] to obsolete.

Attachment #9262865 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: